﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Hangjing.Model;
using Hangjing.SQLServerDAL;

using System.Text;
using System.Text.RegularExpressions;
using Hangjing.SQLServerDAL.serverinterface;


/// <summary>
/// 返回商家余额
/// </summary>
public partial class AndroidAPI_shop_getAccount : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Clear();

        //输入参数：用户名、密码
        string shopid = WebUtility.InputText(Request["shopid"]);

        PointsInfo model = new Points().GetModel(Convert.ToInt32(shopid));

        string rs = "{\"userid\":\"" + shopid + "\",\"money\":\"" + model.money + "\"}";


        Response.Write(rs);
        Response.End();
    }
}
